package com.thread.synchronizedTest;

/**
 * Account--bdqnPractice
 *
 * @author: Jovi
 * @createTime: 2019-03-29 17:50
 **/
public class Account {

    private int balance = 500;

    public int getBalance() {
        return  balance;
    }

    public void withDraw(int amount) {
        balance -= amount;
    }
}
